package com.jasonchoi.gateway;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: JasonChoi
 * @Date: 2019/12/17 16:24
 */
@RestController
public class CallBackController {

    @RequestMapping("/hystrix-call-back")
    public String hystrixCallback(){
        System.out.println("---------------------hystrixCallback---------------------");
        return "服务器开小差了,程序猿正在紧急修复！";
    }
}
